import service from '../service'

export default {
  // 电签授权用户管理列表
  signAuthUserList(params = {}) {
    return service.post('/uc-saas/uc-power-api/sign/signAuthUserList', params)
  },
  // 操作授权用户
  operateAuthUser(params = {}) {
    return service.post('/uc-saas/uc-power-api/sign/operateAuthUser', params)
  },
  // 获取登录用户与操作用户关系
  queryRelationBetweenOperate(params = {}) {
    return service.post('/uc-saas/uc-power-api/sign/queryRelationBetweenOperate', params)
  },
  // 新增用户
  agentRegisterExec(params = {}) {
    return service.post('/uc-saas/uc-power-api/sign/agentRegisterExec', params)
  },
  // 企业静默签信息查询
  querySignInfo(params = {}) {
    return service.post('/uc-saas/uc-saas-api/saas/esign/query/querySignInfo', params)
  },
  // 静默签 去授权
  sign(params = {}) {
    return service.post('/uc-saas/uc-saas-api/saas/esign/operate/sign', params)
  },
  // 静默签 取消授权
  resetSilentSign(params = {}) {
    return service.post('/uc-saas/uc-saas-api/saas/esign/operate/resetSilentSign', params)
  },
  // 查看电子签章
  querySignSeal(params = {}) {
    return service.post('/uc-saas/uc-saas-api/saas/esign/query/querySignSeal', params)
  }
}
